package com.carkeeper.appraise.feign;

import com.carkeeper.appraise.pojo.Appraisal;
import com.carkeeper.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;


@FeignClient(name = "appraisal")
public interface AppraisalFeign {

    @GetMapping("/appraisal/findAll")
    public Result<List<Appraisal>> findAll();
}
